body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    height: 2000px;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
div{
    box-sizing: border-box;
}
img{
    vertical-align: middle ;
}
a{
    text-decoration: none;
}

// 搜索栏
.header_search{
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    display: flex;
    border-bottom: #d9d9d9 solid 1px;
    border-top: #d9d9d9 solid 1px;
    background-color: #f2f2f2;
}
.search_text{
    flex-grow: 1;
    margin-left: 10px;
    margin-top: 8px;
}
.search_input{
    width:477px;
    height: 27px;
    line-height: 24px;
    border: #d9d9d9 solid 1px;
    box-shadow: 2px 2px 2px #dadada;
    color: #766275;
    font-size: 12px;
    padding-left: 24px;
    border-radius: 3px;
    position: relative;
    &::before{
        display: block;
        width: 26px;
        height: 26px;
        content: "";
        position: absolute;
        left: 5px;
        top: 5px;
        background: url(../images/sprite.png) -59px -280px no-repeat;
        background-position: -59px -280px;
        background-size:104px auto;
    }
}
.header_login{
    &::before{
        display: block;
        content: "";
        height: 24px;
        width: 24px;
        margin: 4px auto;
        background:url(../images/sprite.png) -58px -194px no-repeat;
        background-size: 104px auto;
        background-position:-58px -194px;
    }
    text-align: center;
    width: 44px;
    font-size: 12px;
    color: #55bae5;
    line-height: 3px;
}


// 广告图

.newHouse{
    width: 100%;
    >img{
        width: 100%;
    }
}

// 景点导航栏
.view_nav{
    height: 62px;
    margin: 8px 4px 0px;
    background-color: white;
    border-radius: 3px;
    display: flex;
    >a{
        display: flex;
        color: black;
        flex-direction: column;
        flex: 20%;
        text-align: center;
        align-items: center;
        .nav_bgimg{
            margin-top: 8px;
            width:32px;
            height: 32px;
            background:url(../images/localnav_bg.png) 0px 0px no-repeat;
            background-size: 32px auto;
        }
    }
    >a:nth-child(2){
        >.nav_bgimg{
            background-position:0px -32px;
        }
    }
    >a:nth-child(3){
        >.nav_bgimg{
            background-position:0px -64px;
        }
    }
    >a:nth-child(4){
        >.nav_bgimg{
            background-position:0px -96px;
        }
    }
    >a:nth-child(5){
        >.nav_bgimg{
            background-position:0px -128px;
        }
    }

}

// 酒店导航栏
.hotel_nav{
    height: 270px;
    border-radius: 5px;
    background-color: white;
    margin: 8px 4px 0px;
    overflow: hidden;
    line-height: 44px;
    display: flex;
    font-size: 16px;
    text-align: center;
    flex-direction: column;
    >.hotel_one:nth-child(-n+2){
        margin-bottom: 3px;
    }
    >.hotel_one:nth-child(1){
        background: linear-gradient(to right,#fa6852,#fa9756);
    }
    >.hotel_one:nth-child(2){
        background: linear-gradient(to right,#4c9ced,#4eb7ed);
    }
    >.hotel_one:nth-child(3){
        background: linear-gradient(to right,#49c998,#66d358);
        border-radius: 5px;
    }
    >.hotel_one>div:nth-child(1){
        background: url(../images/hotel.png) center bottom no-repeat;
        background-size: 141px auto;
    }
    >.hotel_one{
        height: 88px;
        width: 100%;
        display: flex;
        background: linear-gradient(to right,#fa6852,#fa9756);
        >div{
            flex:1;
            display: flex;
            flex-direction: column;
            color: white;
            >a{
                color: white;
                text-align: center;
            }
            >a:nth-child(1){
                border-bottom: 1px solid white;
            }
        }
        >div:nth-child(n+2){
            border-left: white solid 1px;
        }
    }
}

// 电话费

.telephone{
    margin: 0;
    padding: 0;
    padding-top: 5px;
    background-color:white;
    border-radius: 5px;
    margin: 3px 4px;
    display: flex;
    list-style: none;
    flex-wrap: wrap;

    >li{
        flex: 20%;
        >a{
            display: flex;
            flex-direction: column;
            align-items: center;
            color: black;
            >.tel_icon{
                height: 28px;
                width: 28px;
                background: url(../images/subnav-bg.png) 0px 0px no-repeat;
                background-size: 28px auto;
            }
        }
    }
}

// 热门活动
.hot{
    display: flex;
    margin: 4px 4px 0px;
    border-radius: 5px;
    height: 64px;
    border-top: #ccc solid 1px ;
    border-bottom: #ccc solid 1px;
    padding: 0px 8px;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    >span:nth-child(1){
        height: 15px;
        width: 79px;
        background: url(../images/hot.png) 0px -20px no-repeat;
        background-size: 79px auto;
    }
    >span:nth-child(2){
        color: white;
        font-size: 14px;
        height: 28px;
        border-radius: 14px;
        line-height: 28px;
        padding-left: 14px;
        width: 130px;
        background:linear-gradient(to right,#ff5274,#ff6bc1);
        position:relative;
        &::after{
            position:absolute;
            top: 10px;
            right: 15px;
            height: 9px;
            width: 9px;
            content: "";
            display: block;
            border-top: 1px solid white;
            border-right: 1px solid white;
            transform: rotate(45deg);
        }
    }
}

// 寻找乡村

.found{
    height: 420px;
    background:#f2f2f2;
    margin: 0px 4px 0px;
    border-top: #c9c9c9 solid 1px;
    >div:nth-child(1){
        display: flex;
        >img{
            width: 270px;
            height: 180px;
            border-bottom: #c9c9c9 solid 1px;
        }
        >img:nth-child(1){
            border-right: #c9c9c9 solid 1px;
        }
    }
    >div:nth-child(2){
        display: flex;
        >img{
            width: 268px;
            height: 115px;
        }
        >img:nth-child(1){
            border-right: #c9c9c9 solid 1px;
        }
    }
    >div:nth-child(2){
        display: flex;
        >img{
            width: 266px;
            height: 115px;
            border-bottom: #c9c9c9 solid 1px;
        }
        >img:nth-child(1){
            border-right: #c9c9c9 solid 1px;
        }
    }
    >div:nth-child(3){
        display: flex;
        >img{
            width: 266px;
            height: 115px;
            border-bottom: #c9c9c9 solid 1px;
        }
        >img:nth-child(1){
            border-right: #c9c9c9 solid 1px;
        }
    }
}

// 底部导航栏



.foot-nav{
    height: 49px;
    background-color: white;
    display: flex;
    bottom: 0px;
    font-size: 14px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    min-width: 320px;
    max-width: 540px;


    >a{
        display: flex;
        flex: 25%;
        align-items: center;
        flex-direction: column;
        


        .tabbar{
            width: 22px;
            height: 22px;
            background: url(../images/tabbar.png)no-repeat;
            background-size: 22px auto;
            margin-top: 7px;
        }
    }


    >a:nth-child(1){
        >.tabbar{
            background-position: 0px 0px;
        }
    }


    >a:nth-child(2){
        >.tabbar{
            background-position: 0px -22px;
        }
    }


    >a:nth-child(3){
        >.tabbar{
            background-position: 0px -44px;
        }
    }


    >a:nth-child(4){
        >.tabbar{
            background-position: 0px -66px;
        }
    }
}
/* .bottom-nav{
     position: fixed;
    bottom: 0; 
    margin: 0;
    padding: 0;
    height: 62px;
    background-color: white;
    display: flex;
    >a{
        display: flex;
        color: black;
        flex-direction: column;
        flex: 25%;
        width: 25%;
        text-align: center;
        align-items: center;
        .nav-icon{
            margin-top: 8px;
            width:32px;
            height: 32px;
            background:url(../images/tabbar.png) 0px 0px no-repeat;
            background-size: 32px auto;
        }
    }
    >a:nth-child(2){
        >.nav-icon{
            background-position:0px -32px;
        }
    }
    >a:nth-child(3){
        >.nav-icon{
            background-position:0px -64px;
        }
    }
    >a:nth-child(4){
        >.nav_bgnav-icon{
            background-position:0px -96px;
        }
    }
    >a:nth-child(5){
        >.nav-icon{
            background-position:0px -128px;
        }
    }

} */
